package com.glsc.ngateway.common.api.oaflow.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.glsc.ngateway.common.api.oaflow.dto.oaflow.FrontFlowEdge;
import com.glsc.ngateway.common.api.oaflow.dto.oaflow.FrontFlowNode;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
public class FlowDetailFrontDto implements Serializable {

    private static final long serialVersionUID = -7706174374362398302L;

    @ApiModelProperty(value = "流程名称")
    private String flowName;

    @ApiModelProperty(value = "流程key")
    private String flowDefinitionKey;

    @ApiModelProperty(value = "节点列表")
    private List<FrontFlowNode> nodes;

    @ApiModelProperty(value = "子流程列表")
    private List<FlowDetailFrontDto> subProcessNodes;

    @ApiModelProperty(value = "边列表")
    private List<FrontFlowEdge> edges;

    @ApiModelProperty(value = "min x")
    private Double minX;

    @ApiModelProperty(value = "max x")
    private Double maxX;

    @ApiModelProperty(value = "min y")
    private Double minY;

    @ApiModelProperty(value = "max y")
    private Double maxY;

}




